#pragma once

# if defined(TK_TXR_ALGO_DLM_V1_LIB)
#  define TK_TXR_ALGO_DLM_V1_EXPORT Q_DECL_EXPORT
# else
#  define TK_TXR_ALGO_DLM_V1_EXPORT Q_DECL_IMPORT
# endif

#include "../txr_algo_dlm/txr_algo_dlm_impl.h"

class tk_dlm;
namespace txr_algo_dlm
{

	class TxrAlgoDlmV1 : public TxrAlgoDlmImpl
	{
	public:
		TxrAlgoDlmV1();
		~TxrAlgoDlmV1();

		tk_bool Load(st_dlm_cfg& cfg);
		void Release();
		tk_int32 BatchSize();
		void Detect(st_detect_unit* p_unit, tk_int32 size);

	private:
		tk_dlm* m_p_dlm;
	};
}//namespace txr_algo_dlm